﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="BeniBastanYaratProject.Default" %>
<%@ Register assembly="SepetButton" namespace="SepetButton" tagprefix="cc1" %>
<%@ MasterType VirtualPath="~/Main.Master" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main_CenterContent" runat="server">
    <div class="oferta">
        <img src="images/p1.png" width="165" height="113" border="0" class="oferta_img" alt="" title="" />
        <div class="oferta_details">
            <div class="oferta_title">
                Power Tools BST18XN Cordless</div>
            <div class="oferta_text">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
                            </div>
            <a href="details.html" class="prod_buy">details</a>
        </div>
    </div>
    <div class="center_title_bar">
        Son Eklenen Ürünler</div>
    <asp:DataList ID="DataList1" RepeatColumns="3" runat="server" Width="600px" 
    onitemcommand="DataList1_ItemCommand">
    <ItemTemplate>
    <div class="prod_box">
        <div class="center_prod_box">
            <div class="product_title">
                <a href='UrunDetay.aspx?uid=<%# Eval("UrunID") %>'><%# Eval("UrunAdi") %></a></div>
            <div class="product_img">
                <a href='UrunDetay.aspx?uid=<%# Eval("UrunID") %>'>
                <img width="100px" height="100px" src='<%# Eval("UrunResmiKucuk") %>' alt="" title="" border="0" /></a></div>
            <div class="prod_price">
                <span class="price"><%# Eval("UrunSatisFiyati")%></span></div>
        </div>
        <div class="prod_details_tab">

            <cc1:sptBtn ID="sptBtn2" CommandName="SepeteEkle" CommandArgument='<%# Eval("UrunID") %>' CssClass="prod_buy" runat="server">Sepete Ekle
        </cc1:sptBtn>
&nbsp;<a href='UrunDetay.aspx?uid=<%# Eval("UrunID") %>' class="prod_details">Detaylari</a>
        </div>
    </div>
    </ItemTemplate>
    </asp:DataList>
</asp:Content>
